package com.punai.config.sqlitedao;


import com.punai.config.sqlitedomain.Structure;

import java.util.List;

public interface StructureRepository {

    Structure findOne(String id) ;

    List<Structure> findByTemplateId(String templateId) ;

    Integer findMaxSorting();

    Structure save(Structure structure) ;

    Structure update(Structure structure) ;

    void remove(String strutsId) ;

    List<Structure> findByParentId(String parentId);

    void updateSort(String s, int i);
}
